package com.ds.lens.data.vo.in.v2.metric;

import lombok.Data;

import javax.validation.constraints.NotEmpty;
import javax.validation.constraints.NotNull;
import java.io.Serializable;

/**
 * Description:
 *
 * @author WeiShaoying
 * @date 2020-05-19
 */
@Data
public class LensDynamicResultMarkInVO implements Serializable {
    private static final long serialVersionUID = -5296268233347205428L;
    @NotNull(message = "monitorId cannot be null.")
    private Long monitorId;
    @NotNull(message = "version cannot be null.")
    private Integer version;
    @NotEmpty(message = "metricBy cannot be empty.")
    private String metricBy;
    @NotNull(message = "timestamp cannot be null.")
    private Long timestamp;
}
